#ifndef brick_hard_h
#define brick_hard_h

#include "StaticObject.h"

#define brickHardWIDTH 45
#define brickHardHEIGHT 45

class BrickHard : public StaticObject
{
private:
	Sprite *_sprite;
public:
	BrickHard(int id, D3DXVECTOR2 position, int MovingWidth) : StaticObject(id, position, MovingWidth)
	{
		_w = brickHardWIDTH;
		_h = brickHardHEIGHT;
		_type = BrickHardType;
		_movingWidth = MovingWidth;
	}
	~BrickHard(){}
	void Update(int Delta)
	{}
	void LoadResources(LPD3DXSPRITE SpriteHandler, Texture *texture)
	{
		_sprite = new Sprite(SpriteHandler, texture, brickHardWIDTH, brickHardHEIGHT, 1, 0);
	}
	void RenderFrame(LPDIRECT3DSURFACE9 BackBuffer, ViewPort *viewport)
	{
		_sprite -> Render(BackBuffer, (int)_position.x, (int)_position.y, 255, 1, 1, viewport);
	}
};


#endif